#ifndef AT_NETWORK_WITH_EC800_h
#define AT_NETWORK_WITH_EC800_h

#include "device/ec800/AtNetworkDeviceEC800.h"

#define AtNetworkDeviceExample AtNetworkDeviceEC800

/**
 * 是否启动SOCKET功能
 */
#ifdef USE_AT_NETWORK_SOCKET
#include "device/ec800/AtNetworkSocketEC800.h"

#define AtNetworkSocketExample AtNetworkSocketEC800
#endif

/**
 * 是否启动MQTT功能
 */
#ifdef USE_AT_NETWORK_MQTT
#include "extend/mqtt/AtNetworkMqttTopic.h"

#include "device/ec800/AtNetworkMqttClientEC800.h"

#define AtNetworkMqttTopicExample AtNetworkMqttTopic

#define AtNetworkMqttClientExample AtNetworkMqttClientEC800
#endif

/**
 * 是否启动ONENET功能
 */
#ifdef USE_AT_NETWORK_ONENET
#include "extend/mqtt/AtNetworkMqttTopic.h"

#include "device/ec800/AtNetworkMqttClientEC800.h"
#include "device/ec800/AtNetworkOnenetClientEC800.h"

#define AtNetworkMqttTopicExample AtNetworkMqttTopic

#define AtNetworkMqttClientExample AtNetworkMqttClientEC800
#define AtNetworkOnenetClientExample AtNetworkMqttClientEC800
#endif

/**
 * 是否启动HTTP功能
 */
#ifdef USE_AT_NETWORK_HTTP
#include "device/ec800/AtNetworkHttpEC800.h"

#define AtNetworkHttpExample AtNetworkHttpEC800
#endif

/**
 * 是否启动NTP功能
 */
#ifdef USE_AT_NETWORK_NTP
#include "device/ec800/AtNetworkNtpEC800.h"

#define AtNetworkNtpExample AtNetworkNtpEC800
#endif

#endif